package Controlador;

import java.util.List;

import Modelo.Entidad.Banco;

public class GestorBanco  {

	private static GestorBanco INSTANCE = null;

    private GestorBanco() {
    }

    private synchronized static void createInstance() {
        if (INSTANCE == null) {
            INSTANCE = new GestorBanco();
        }
    }

    public static GestorBanco getInstance() {
        if (INSTANCE == null) {
            createInstance();
        }
        return (GestorBanco) INSTANCE;
    }

    public void guardarBanco(Banco c) {
        //ClienteDAO.getInstance().persist(c);
    }

    public void actualizarBanco(Banco c) {
        //ClienteDAO.getInstance().update(c);
    }


    public void eliminarBanco(Banco c) {
        //BancoDAO.getInstance().remove(c);
    }

    public Banco findById(Long id) {
		return null;
        //return BancoDAO.getInstance().findById(id);
    }

    public List<Banco> findAll() {
        //return BancoDAO.getInstance().findAll();
    	return null;
    }
}
